/**
 * Created by lt on 2017/5/10.
 */
$(function () {
    $("#selectOrder").click(function () {
        $("#orderLike").ajaxSubmit({
            type: "POST",
            url: '/order/selectOrder.html',
            data: $('#orderLike').serialize(),// 你的formid
            dataType:"json",
            error: function (request) {
                alert("Connection error");
            },
            success: function (data) {
                console.log(data);
                window.parent.location.reload();
            },
            complete: function (XMLHttpRequest, textStatus) {
                // alert('远程调用成功，状态文本值：'+textStatus);
                console.log("end...............");
                $("#loading").hide();
                $("#mask").hide();
            },
        });

    })
});



